package com.cdks.wuxiu.api.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdks.wuxiu.entity.mysql.VoiceShowInfo;

import io.lettuce.core.dynamic.annotation.Param;


/**
 * 用户语音信息表 Mapper 接口
 */
public interface VoiceShowInfoMapper extends BaseMapper<VoiceShowInfo> {
    int addPlayCount(@Param("voiceId") long voiceId);
    int addRewardCount(@Param("voiceId") long voiceId);

    List<VoiceShowInfo> getPlayList(@Param("selfId") long selfId, @Param("sex") int sex);
    List<VoiceShowInfo> getRandList(@Param("selfId") long selfId, @Param("sex") int sex);
}
